Offense Rules

class src.offense_rules.OffenseRules(log)[source]
convert_inc(row, vars, ruleset, log_name)[source]
convert_offenses(row, rulesets, rule_order, _index=0, full_key=None, ground_truth={})[source]

@param rules: The crosswalk object containing all the RuleSets. @param rule_order: A list of tuples (x,y) where x = key to locate in RuleSet and y = name of RuleSet.

Length of list determines depth of recursion.
@param skip_missing_coding: A list containing the names of offense variables to not code
as missing if no match is found in crosswalk.
src.offense_rules

alias of src.offense_rules

This Page